<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<table style="BORDER-COLLAPSE: collapse" borderColor=#000000 height=40 cellPadding=1 width=400 align=center border=1>
<TBODY>
<TR>
<TD colspan="6">
<DIV align=center>角色管理</DIV></TD></TR></TBODY>


<tr><th>编号</th><th>名称</th><th>状态</th><th>备注</th><th>操作</th><th>权限配置</th></tr>
<?php if(is_array($rolelist)): $i = 0; $__LIST__ = $rolelist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
   <td><?php echo ($vo["id"]); ?></td>
   <td><?php echo ($vo["name"]); ?></td>
   <td>
<?php if($vo["status"] == 1): ?>开启
    <?php else: ?> 关闭<?php endif; ?>
  </td>
   <td><?php echo ($vo["remark"]); ?></td>
   <td><a href="##">修改</a><a href="##" style="float: right;">删除</a></td>
   <td><a href="<?php echo U('Admin/Rbac/access',array('rid'=>$vo['id']));?>">配置</a></td>
 </tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>
</body>
</html>